package com.lagou.domain;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class TestStudent {

    public static void main(String[] args) throws ParseException {

        // 创建Student对象
        Date sdate = new SimpleDateFormat("yyyy-MM-dd").parse("2020-01-22");
        Student s1 = new Student(1001, "张三", "0", sdate);
        System.out.println(s1);
    }
}
